import request from '@/utils/request'

// 查询PrintProcess列表
export function listPrintProcess(query) {
  return request({
    url: '/PrintProcess/PrintProcess/list',
    method: 'get',
    params: query
  })
}

// 查询PrintProcess详细
export function getPrintProcess(id) {
  return request({
    url: '/PrintProcess/PrintProcess/' + id,
    method: 'get'
  })
}

// 新增PrintProcess
export function addPrintProcess(data) {
  return request({
    url: '/PrintProcess/PrintProcess',
    method: 'post',
    data: data
  })
}

// 修改PrintProcess
export function updatePrintProcess(data) {
  return request({
    url: '/PrintProcess/PrintProcess',
    method: 'put',
    data: data
  })
}

// 删除PrintProcess
export function delPrintProcess(id) {
  return request({
    url: '/PrintProcess/PrintProcess/' + id,
    method: 'delete'
  })
}
